<?php

namespace App\Models\Repair;

use App\Models\Common\CommonModel;
use App\Models\User\User;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class ReapirFactoryComment extends CommonModel
{
    use HasFactory;

    protected $table = 'repair_factory_comment';

    public function getUser() {
        return $this->hasOne(User::class,'id','user_id');
    }

    public function getFactory() {
        return $this->hasOne(RepairFactory::class,'id','repair_factory_id');
    }
}
